package cn.exrick.xboot.cummunity.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableField;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 社区跑腿-地址
 * </p>
 *
 * @author xujiaxin
 * @since 2024-08-26
 */
@Data
@TableName("cum_address")
@ApiModel(value = "社区跑腿-地址")
public class CumAddress implements Serializable {

private static final long serialVersionUID = 1L;

/**
 * 
 */
@TableId(value = "id", type = IdType.AUTO)
@ApiModelProperty(value = "")
private Integer id;

/**
 * 地址
 */
@TableField(value = "address")
@ApiModelProperty(value = "地址")
private String address;

/**
 * 详细地址
 */
@TableField(value = "detail_address")
@ApiModelProperty(value = "详细地址")
private String detailAddress;

/**
 * x坐标
 */
@TableField(value = "x_location")
@ApiModelProperty(value = "x坐标")
private String xLocation;

/**
 * y坐标
 */
@TableField(value = "y_location")
@ApiModelProperty(value = "y坐标")
private String yLocation;

/**
 * 联系人
 */
@TableField(value = "linkman")
@ApiModelProperty(value = "联系人")
private String linkman;

/**
 * 联系电话
 */
@TableField(value = "linkphone")
@ApiModelProperty(value = "联系电话")
private String linkphone;

/**
 * 创建时间
 */
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@TableField(value = "create_time")
@ApiModelProperty(value = "创建时间")
private Date createTime;

/**
 * 创建人
 */
@TableField(value = "create_user")
@ApiModelProperty(value = "创建人")
private String createUser;

/**
 * 创建人名称
 */
@TableField(value = "create_user_name")
@ApiModelProperty(value = "创建人名称")
private String createUserName;

/**
 * 创建人头像
 */
@TableField(value = "create_user_avatar")
@ApiModelProperty(value = "创建人头像")
private String createUserAvatar;

}
